<?php

    /**
    * @framework : My Framework
    *
    * @author: fatangel26@gmail.com
    *
    */

	class database
	{
		private $_host = "localhost";
		private $_username = "root";
		private $_pass = "";
		private $conn;
		private $_database = "my_framework";

		public function __construct()
		{
			$this->conn = mysql_connect($this->_host,$this->_username,$this->_pass);
			mysql_select_db($this->_database,$this->conn) or die(mysql_error());
			mysql_query("SET CHARACTER SET utf8");
		}


	}

	/*End of config/database.php*/
    /*Location: my_framework/index.php */